package com.gyy.faq.dao;

import com.gyy.faq.pojo.po.FaqClassifyPO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FaqClassifyDAO {
	int deleteByPrimaryKey(Integer id);

	int insert(FaqClassifyPO record);

	int insertSelective(FaqClassifyPO record);

	FaqClassifyPO selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(FaqClassifyPO record);

	int updateByPrimaryKey(FaqClassifyPO record);

	List<FaqClassifyPO> selectClassifyList();

	List<FaqClassifyPO> selectParentClassifyList();

	List<FaqClassifyPO> getUnderClassifyList(Integer id);
}